package cn.jiedanba.cacert.tsaserver;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.ApplicationContext;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import cn.jiedanba.cacert.common.config.Configs;

/**
 * 时间戳系统
 * 
 * @author dell
 *
 */
@SpringBootApplication(scanBasePackages = { "cn.jiedanba.cacert.*" })
@ServletComponentScan
@EnableTransactionManagement
public class TsaApplication {

	public static void main(String[] args) throws Exception {
		ApplicationContext context = SpringApplication.run(TsaApplication.class, args);
		Configs.init(context);
	}

}
